package com.example.demo1122.service;

import com.example.demo1122.domain.ResponseResult;
import com.example.demo1122.DTO.ChapterDTO;

import java.util.List;
import com.example.demo1122.entity.Chapter;

public interface IChapterService {
    ResponseResult showChapter(Integer classID);

    ResponseResult saveChapter(List<ChapterDTO> chapterDTOs,Integer courseID);

    ResponseResult findChapterByCourseID(Integer courseID);

    ResponseResult insertOrupdateChapter(Chapter chapter);
}
